package com.example.logindemo.Service;


import com.example.logindemo.Pojo.User;

public interface UserService {

    User getUser(String  userName);

    boolean addUser(User user);

    boolean LoginByPhone(String phone);

    User selectByPhone(String phone);

    boolean LoginByUserName(String userName);

    User selectByUserName(String userName);

    String selectRoleByUserName(String userName);

}
